home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 47.7z / BS1 part 47 / UGA Utilities 6 (1989)(United Graphic Artists)(PD).7z / UGA Utilities 6 (1989)(United Graphic Artists)(PD).adf / .edmap < prev    next >
Text File  |  1988-01-19  |  2KB  |  50 lines

  1. #
  2. # Extended keymap for ED V1.3
  3. # © 1988 by Edgar Törnig
  4.  
  5. # Converts upper to lower and vice versa
  6. map a-lqu    `ifelse clower `tlate -32' `if cupper `tlate +32'' forward'
  7.  
  8. # move cursor one word left/right
  9. map c-l      `backward while c=32 backward while !c=32 backward forward sync'
  10. map c-w      ^a-rig
  11. map a-rig    `while !c=32 forward while c=32 forward sync'
  12.  
  13. map c-m      mark    # Marke setzen
  14. map c-t      tomark    # Zur Marke springen
  15. map s-f10    flipmark    # Position als neue Marke, zur Alten springen
  16.  
  17. # redefine c-[ to remeber the position we started search
  18. map c-[      `mark search @^\{ident}'
  19.  
  20. # some things for C-programmers
  21. map a-m      ``#include <stdio.h>' return return `main(argc,argv)' return `char **argv;' return `\{' return `\}' up return tab'
  22. map a-3      `return `#include <.h>' left left left'
  23. map a-[      ``\{' return `\}' up return tab'
  24. map a-/      `first `/* ' last ` */' down'          # Zeile in Kommentarzeichen setzen
  25. map sa-/     `first del del del last bs bs bs down' # Kommentarzeichen entfernen
  26.  
  27. # everybody needs some help
  28. map sa-o     `view s:.options name `=====> Press F10 to quit. <=====''
  29. map sa-a     `view s:.asciitable name `=====> Press F10 to quit. <=====' msg `Press s-left/s-right to scroll, f10 to quit.''
  30.  
  31. #misc
  32. map c-ret    insline                # Leerzeile einfügen
  33. #map f2       `prompt `newfile *''
  34. map c-esc    `prompt `repeat -1 \`''        # repeat-until-error-prompt
  35. map s-f2     `newfile `{file}''             # load file; name under cursor
  36. map f10      `if !view savemod remove'      # redefine: no save in view-mode
  37. map c-f6     `yank 1 copy unblock bsource'  # execute line under cursor
  38.  
  39. #shell F-keys
  40. map a-f1    `cd df0:'
  41. map a-f2    `cd df1:'
  42. map a-f3    `cd df2:'
  43. map a-f4    `cd ram:'
  44. map a-f5    `prompt `cd ''
  45. map a-f6    `newfile df0:*'
  46. map a-f7    `newfile df1:*'
  47. map a-f8    `newfile df2:*'
  48. map a-f9    `newfile ram:*'
  49. map a-f10   `newfile *'
  50.